
class MarketIncubationDynamicListModel {
  List<MarketIncubationDynamicListItem>? list;
  int? pageNum;
  int? pageSize;
  int? total;
  int? totalPage;

  MarketIncubationDynamicListModel({this.list, this.pageNum, this.pageSize, this.total, this.totalPage});

  MarketIncubationDynamicListModel.fromJson(Map<String, dynamic> json) {
    list = json["list"] == null ? null : (json["list"] as List).map((e) => MarketIncubationDynamicListItem.fromJson(e)).toList();
    pageNum = json["pageNum"];
    pageSize = json["pageSize"];
    total = json["total"];
    totalPage = json["totalPage"];
  }

  static List<MarketIncubationDynamicListModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(MarketIncubationDynamicListModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if(list != null) {
      _data["list"] = list?.map((e) => e.toJson()).toList();
    }
    _data["pageNum"] = pageNum;
    _data["pageSize"] = pageSize;
    _data["total"] = total;
    _data["totalPage"] = totalPage;
    return _data;
  }

  MarketIncubationDynamicListModel copyWith({
    List<MarketIncubationDynamicListItem>? list,
    int? pageNum,
    int? pageSize,
    int? total,
    int? totalPage,
  }) => MarketIncubationDynamicListModel(
    list: list ?? this.list,
    pageNum: pageNum ?? this.pageNum,
    pageSize: pageSize ?? this.pageSize,
    total: total ?? this.total,
    totalPage: totalPage ?? this.totalPage,
  );
}

class MarketIncubationDynamicListItem {
  String? createTime;
  dynamic? orderPrice;
  String? tokenId;

  MarketIncubationDynamicListItem({this.createTime, this.orderPrice, this.tokenId});

  MarketIncubationDynamicListItem.fromJson(Map<String, dynamic> json) {
    createTime = json["createTime"];
    orderPrice = json["orderPrice"];
    tokenId = json["tokenId"];
  }

  static List<MarketIncubationDynamicListItem> fromList(List<Map<String, dynamic>> list) {
    return list.map(MarketIncubationDynamicListItem.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["createTime"] = createTime;
    _data["orderPrice"] = orderPrice;
    _data["tokenId"] = tokenId;
    return _data;
  }

  MarketIncubationDynamicListItem copyWith({
    String? createTime,
    dynamic? orderPrice,
    String? tokenId,
  }) => MarketIncubationDynamicListItem(
    createTime: createTime ?? this.createTime,
    orderPrice: orderPrice ?? this.orderPrice,
    tokenId: tokenId ?? this.tokenId,
  );
}